########################################################
# Sets the edict-cost for all edicts with this variable
@EzyEdictCost = 0

# Duration is in days - this is 110 years
@EzyEdictDuration = 36000

############################
# Individual Edicts
############################

country_edict = {
	name = "hq_influence"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	country_resource_influence_mult = 0.80
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_unity"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	country_resource_unity_mult = 0.80
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_energy"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

		tile_resource_energy_mult = 0.25
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_minerals"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

		tile_resource_minerals_mult = 0.25
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_research"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	all_technology_research_speed = 0.15
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_anomaly"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	ship_anomaly_generation_chance_mult = 0.20
	science_ship_survey_speed = 0.25
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_planets"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	country_core_sector_system_cap = 5
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_buildspeed"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	building_time_mult = -0.50
	planet_clear_blocker_time_mult = -0.50
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_megaspeed"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	megastructure_build_speed_mult = 0.80
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_planetsensor"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {

	ship_sensor_range_add = 5
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_habitat"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	
		pop_environment_tolerance = 0.15
		pc_desert_habitability = 0.15
		pc_arid_habitability = 0.15
		pc_tropical_habitability = 0.15
		pc_continental_habitability = 0.15
		pc_tundra_habitability = 0.15
		pc_ocean_habitability = 0.15
		pc_arctic_habitability = 0.15
		pc_ai_habitability = 0.15
		pc_nuked_habitability = 0.15
		pc_gaia_habitability = 0.15
		pc_ringworld_habitable_habitability = 0.15
		
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "lv_426"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		terraforming_cost_mult = -0.80
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_happy"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		pop_happiness = 0.20
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}
country_edict = {
	name = "hq_leadercap"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		country_leader_cap = 5
		leader_skill_levels = 1
		species_leader_exp_gain = 0.25
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_cheapships"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		starbase_shipyard_build_speed_mult = 0.25
		starbase_shipyard_build_cost_mult = -0.25
		ship_upkeep_mult = -0.25	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_shiphealth"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	ship_hull_mult = 0.20
	ship_armor_mult = 0.20
	ship_shield_mult = 0.20
	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_shipdamage"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	ship_weapon_damage = 0.20
	ship_fire_rate_mult = 0.20	
	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_shipfirerate"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		planet_army_build_speed_mult = 0.4
		army_damage_mult = 0.2
		army_health = 0.1
		army_morale = 0.3
		army_defense_morale_mult = 0.1
		army_defense_damage_mult = 0.1
		army_attack_morale_mult = 0.1
		army_attack_damage_mult = 0.1
		garrison_health = 0.2
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_navy"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
		country_naval_cap_add = 50
	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_fleet"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	country_command_limit_add = 20
	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_starbase"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	starbase_defense_platform_capacity_add = 5
	starbase_upgrade_cost_mult = -0.33
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}

country_edict = {
	name = "hq_starbase2"
	length = @EzyEdictDuration
	cost = { influence = @EzyEdictCost }
	modifier = {
	country_starbase_capacity_add = 10
	
	}
	allow = {
	}
	ai_weight = {
		weight = 0
	}
	prerequisites = {
	}
}